package org.finesys.chat.core.base.embedding.store.redis;

public enum MetricType {


    L2_DISTANCE("vector_l2_ops", "L2 distance"),
    INNER_PRODUCT("vector_ip_ops", "Inner product"),
    COSINE_DISTANCE("vector_cosine_ops", "Cosine distance");

    private String value;
    private String name;

    MetricType(String value, String name) {
        this.value = value;
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
